package design_pattern.visitor;

public class NodeA extends Node {

  @Override
  void accept(Visitor visitor) {
    visitor.visit(this);
  }

  public String operationA() {
    return "NodeA is visited";
  }

}
